.class public Lcom/netease/newsreader/activity/ShowColumnInMore;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "ShowColumnInMore.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Lcom/netease/newsreader/view/PullRefreshListView$OnRefreshListener;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/netease/newsreader/activity/BaseActivity;",
        "Landroid/widget/AdapterView$OnItemClickListener;",
        "Lcom/netease/newsreader/view/PullRefreshListView$OnRefreshListener;"
    }
.end annotation


# static fields
.field public static final MSG_LOAD_DATA_DB:I = 0x0

.field public static final MSG_LOAD_DATA_MORE:I = 0x2

.field public static final MSG_LOAD_DATA_NET:I = 0x1

.field public static final MSG_LOAD_DATA_WEATHER:I = 0x3

.field public static final REQ_CODE_SELECT_CITY:I


# instance fields
.field private adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

.field private btn_change_city:Landroid/widget/Button;

.field private columnTitle:Ljava/lang/String;

.field private data:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private handler:Landroid/os/Handler;

.field private isHeadline:Ljava/lang/String;

.field private lastVisibleItem:I

.field private lay:Landroid/widget/LinearLayout;

.field private layout:Landroid/view/View;

.field private list:Landroid/widget/ListView;

.field private mEmptyMsg:Landroid/widget/TextView;

.field private mGallery:Lcom/netease/newsreader/view/HeadlineGallery;

.field private mIsLocalNews:Z

.field private mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

.field private mPullListView:Lcom/netease/newsreader/view/PullRefreshListView;

.field private mRefresh:Z

.field private menuClickListener:Landroid/view/View$OnClickListener;

.field private menu_display:Z

.field private moreButton:Landroid/widget/Button;

.field private moreClickListener:Landroid/view/View$OnClickListener;

.field private mtotalItemCount:I

.field private province:Ljava/lang/String;

.field private scrollListener:Landroid/widget/AbsListView$OnScrollListener;

.field private startnum:I

.field private tid:Ljava/lang/String;

.field private title:Landroid/widget/TextView;

.field private top_progressbar:Landroid/widget/ProgressBar;

.field private weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

.field private weatherData:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 54
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 70
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    .line 72
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    .line 74
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->isHeadline:Ljava/lang/String;

    .line 76
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    .line 78
    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    .line 82
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherData:Ljava/util/ArrayList;

    .line 84
    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

    .line 86
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->province:Ljava/lang/String;

    .line 94
    iput v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->startnum:I

    .line 96
    iput v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lastVisibleItem:I

    .line 98
    iput v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mtotalItemCount:I

    .line 345
    new-instance v0, Lcom/netease/newsreader/activity/ShowColumnInMore$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$1;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->handler:Landroid/os/Handler;

    .line 742
    new-instance v0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$2;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->scrollListener:Landroid/widget/AbsListView$OnScrollListener;

    .line 768
    new-instance v0, Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreClickListener:Landroid/view/View$OnClickListener;

    .line 863
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    .line 865
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mRefresh:Z

    .line 909
    new-instance v0, Lcom/netease/newsreader/activity/ShowColumnInMore$4;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$4;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    .line 54
    return-void
.end method

.method private UpdateDisplay()V
    .locals 12

    .prologue
    const/4 v2, 0x0

    const/4 v11, 0x2

    const/4 v10, 0x1

    const/4 v5, 0x3

    const/4 v9, 0x0

    .line 240
    iget-boolean v8, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mRefresh:Z

    .line 242
    .local v8, refresh:Z
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

    if-nez v0, :cond_0

    .line 243
    new-instance v0, Lcom/netease/newsreader/adapter/HeadlineAdapter;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherData:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/netease/newsreader/adapter/HeadlineAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

    .line 244
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f03007a

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v7

    .line 245
    .local v7, head:Landroid/view/View;
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    invoke-virtual {v0, v7}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 246
    const v0, 0x7f0c017d

    invoke-virtual {v7, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/view/HeadlineGallery;

    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mGallery:Lcom/netease/newsreader/view/HeadlineGallery;

    .line 247
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mGallery:Lcom/netease/newsreader/view/HeadlineGallery;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/view/HeadlineGallery;->setAdapter(Lcom/netease/newsreader/adapter/HeadlineAdapter;)V

    .line 250
    .end local v7           #head:Landroid/view/View;
    :cond_0
    new-instance v6, Lcom/netease/newsreader/util/BaseImageDownloader;

    invoke-direct {v6, p0, v2}, Lcom/netease/newsreader/util/BaseImageDownloader;-><init>(Landroid/content/Context;Landroid/graphics/Bitmap;)V

    .line 251
    .local v6, imageDownloader:Lcom/netease/newsreader/util/BaseImageDownloader;
    sget-object v0, Lcom/netease/newsreader/util/BaseImageDownloader$Mode;->CORRECT:Lcom/netease/newsreader/util/BaseImageDownloader$Mode;

    invoke-virtual {v6, v0}, Lcom/netease/newsreader/util/BaseImageDownloader;->setMode(Lcom/netease/newsreader/util/BaseImageDownloader$Mode;)V

    .line 253
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->isHeadline:Ljava/lang/String;

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 254
    new-instance v0, Lcom/netease/newsreader/util/BasePageViewAdapter;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    const v3, 0x7f030031

    new-array v4, v5, [Ljava/lang/String;

    .line 255
    const-string v1, "title"

    aput-object v1, v4, v9

    const-string v1, "digest"

    aput-object v1, v4, v10

    const-string v1, "imgsrc"

    aput-object v1, v4, v11

    .line 256
    new-array v5, v5, [I

    fill-array-data v5, :array_0

    move-object v1, p0

    .line 258
    invoke-direct/range {v0 .. v6}, Lcom/netease/newsreader/util/BasePageViewAdapter;-><init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[ILcom/netease/newsreader/util/BaseImageDownloader;)V

    .line 254
    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    .line 268
    :goto_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setDB(Landroid/database/sqlite/SQLiteDatabase;)V

    .line 269
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    const-string v1, "news"

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/BasePageViewAdapter;->setAdapterType(Ljava/lang/String;)V

    .line 270
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 272
    if-nez v8, :cond_1

    .line 273
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v9}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 274
    :cond_1
    if-eqz v8, :cond_3

    move v0, v9

    :goto_1
    invoke-direct {p0, v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->refresh(Z)V

    .line 276
    iput-boolean v9, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mRefresh:Z

    .line 277
    return-void

    .line 260
    :cond_2
    new-instance v0, Lcom/netease/newsreader/util/BasePageViewAdapter;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    const v3, 0x7f030033

    new-array v4, v5, [Ljava/lang/String;

    .line 261
    const-string v1, "title"

    aput-object v1, v4, v9

    const-string v1, "replyCount"

    aput-object v1, v4, v10

    .line 262
    const-string v1, "ptime"

    aput-object v1, v4, v11

    .line 263
    new-array v5, v5, [I

    fill-array-data v5, :array_1

    move-object v1, p0

    .line 265
    invoke-direct/range {v0 .. v6}, Lcom/netease/newsreader/util/BasePageViewAdapter;-><init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[ILcom/netease/newsreader/util/BaseImageDownloader;)V

    .line 260
    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    goto :goto_0

    :cond_3
    move v0, v10

    .line 274
    goto :goto_1

    .line 256
    :array_0
    .array-data 0x4
        0xc7t 0x0t 0xct 0x7ft
        0xc8t 0x0t 0xct 0x7ft
        0xc6t 0x0t 0xct 0x7ft
    .end array-data

    .line 263
    :array_1
    .array-data 0x4
        0xc7t 0x0t 0xct 0x7ft
        0xc9t 0x0t 0xct 0x7ft
        0xcat 0x0t 0xct 0x7ft
    .end array-data
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;
    .locals 1
    .parameter

    .prologue
    .line 76
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/util/BasePageViewAdapter;
    .locals 1
    .parameter

    .prologue
    .line 78
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    return-object v0
.end method

.method static synthetic access$10(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ListView;
    .locals 1
    .parameter

    .prologue
    .line 66
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$11(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 88
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lay:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I
    .locals 1
    .parameter

    .prologue
    .line 94
    iget v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->startnum:I

    return v0
.end method

.method static synthetic access$13(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 94
    iput p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->startnum:I

    return-void
.end method

.method static synthetic access$14(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 70
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$15(Lcom/netease/newsreader/activity/ShowColumnInMore;Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 601
    invoke-direct {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->removeRepeatedData(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$16(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/util/ArrayList;
    .locals 1
    .parameter

    .prologue
    .line 82
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherData:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$17(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/adapter/HeadlineAdapter;
    .locals 1
    .parameter

    .prologue
    .line 84
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

    return-object v0
.end method

.method static synthetic access$18(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/view/HeadlineGallery;
    .locals 1
    .parameter

    .prologue
    .line 80
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mGallery:Lcom/netease/newsreader/view/HeadlineGallery;

    return-object v0
.end method

.method static synthetic access$19(Lcom/netease/newsreader/activity/ShowColumnInMore;)I
    .locals 1
    .parameter

    .prologue
    .line 98
    iget v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mtotalItemCount:I

    return v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$20(Lcom/netease/newsreader/activity/ShowColumnInMore;)I
    .locals 1
    .parameter

    .prologue
    .line 96
    iget v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lastVisibleItem:I

    return v0
.end method

.method static synthetic access$21(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 96
    iput p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lastVisibleItem:I

    return-void
.end method

.method static synthetic access$22(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 98
    iput p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mtotalItemCount:I

    return-void
.end method

.method static synthetic access$23(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 74
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->isHeadline:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$24(Lcom/netease/newsreader/activity/ShowColumnInMore;)Z
    .locals 1
    .parameter

    .prologue
    .line 103
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    return v0
.end method

.method static synthetic access$25(Lcom/netease/newsreader/activity/ShowColumnInMore;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 863
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    return-void
.end method

.method static synthetic access$26(Lcom/netease/newsreader/activity/ShowColumnInMore;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 865
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mRefresh:Z

    return-void
.end method

.method static synthetic access$27(Lcom/netease/newsreader/activity/ShowColumnInMore;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 429
    invoke-direct {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->getListFromDB(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$28(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 86
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->province:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ProgressBar;
    .locals 1
    .parameter

    .prologue
    .line 92
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->top_progressbar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 72
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/ShowColumnInMore;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 478
    invoke-direct {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->insertListToDB(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 345
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->handler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$7(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/view/PullRefreshListView;
    .locals 1
    .parameter

    .prologue
    .line 64
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mPullListView:Lcom/netease/newsreader/view/PullRefreshListView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/netease/newsreader/activity/ShowColumnInMore;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1064
    invoke-direct {p0, p1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->updateEmptyMsg(Z)V

    return-void
.end method

.method static synthetic access$9(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/Button;
    .locals 1
    .parameter

    .prologue
    .line 90
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreButton:Landroid/widget/Button;

    return-object v0
.end method

.method private findViewsById()V
    .locals 3

    .prologue
    .line 148
    const v1, 0x7f0c0007

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    new-instance v2, Lcom/netease/newsreader/activity/ShowColumnInMore$5;

    invoke-direct {v2, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$5;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V

    invoke-virtual {v1, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 154
    const v1, 0x7f0c0145

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->btn_change_city:Landroid/widget/Button;

    .line 155
    const v1, 0x7f0c0008

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->title:Landroid/widget/TextView;

    .line 156
    const v1, 0x7f0c0146

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/netease/newsreader/view/PullRefreshListView;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mPullListView:Lcom/netease/newsreader/view/PullRefreshListView;

    .line 157
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mPullListView:Lcom/netease/newsreader/view/PullRefreshListView;

    invoke-virtual {v1}, Lcom/netease/newsreader/view/PullRefreshListView;->getListView()Landroid/widget/ListView;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    .line 158
    const v1, 0x7f0c0147

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mEmptyMsg:Landroid/widget/TextView;

    .line 160
    const-string v1, "layout_inflater"

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    .line 161
    .local v0, mInflater:Landroid/view/LayoutInflater;
    const v1, 0x7f03003b

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lay:Landroid/widget/LinearLayout;

    .line 162
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lay:Landroid/widget/LinearLayout;

    const v2, 0x7f0c00f5

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/Button;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreButton:Landroid/widget/Button;

    .line 164
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreButton:Landroid/widget/Button;

    const v2, 0x7f0a0007

    invoke-virtual {v1, p0, v2}, Landroid/widget/Button;->setTextAppearance(Landroid/content/Context;I)V

    .line 166
    const v1, 0x7f0c0070

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ProgressBar;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->top_progressbar:Landroid/widget/ProgressBar;

    .line 168
    const v1, 0x7f0c00ce

    invoke-virtual {p0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    .line 169
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->preparePullRefreshView()V

    .line 170
    return-void
.end method

.method private getListFromDB(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
    .locals 6
    .parameter
    .parameter "columnID"
    .parameter "type"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 433
    .local p1, data:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    invoke-interface {p1}, Ljava/util/List;->clear()V

    .line 435
    const-string v2, ""

    .line 437
    .local v2, sql:Ljava/lang/String;
    const-string v3, "head"

    invoke-virtual {p3, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 438
    const-string v2, "select * from news_list where news_col_id=? limit 0,20"

    .line 445
    :goto_0
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    const/4 v4, 0x1

    new-array v4, v4, [Ljava/lang/String;

    const/4 v5, 0x0

    .line 446
    aput-object p2, v4, v5

    .line 445
    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 448
    .local v0, cursor:Landroid/database/Cursor;
    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->startManagingCursor(Landroid/database/Cursor;)V

    .line 450
    if-eqz v0, :cond_0

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_0

    .line 452
    const/4 v1, 0x0

    .line 453
    .local v1, map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    :goto_1
    invoke-interface {v0}, Landroid/database/Cursor;->isAfterLast()Z

    move-result v3

    if-eqz v3, :cond_2

    .line 476
    .end local v1           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_0
    return-void

    .line 441
    .end local v0           #cursor:Landroid/database/Cursor;
    :cond_1
    const-string v2, "select * from news_list where news_col_id=? order by news_ptime desc limit 0,20"

    goto :goto_0

    .line 454
    .restart local v0       #cursor:Landroid/database/Cursor;
    .restart local v1       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_2
    new-instance v1, Ljava/util/HashMap;

    .end local v1           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 455
    .restart local v1       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v3, "docid"

    .line 456
    const-string v4, "news_doc_id"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 455
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 457
    const-string v3, "imgsrc"

    .line 458
    const-string v4, "news_img_src"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 457
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 459
    const-string v3, "digest"

    .line 460
    const-string v4, "news_digest"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 459
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 461
    const-string v3, "replyCount"

    .line 462
    const-string v4, "news_reply_count"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 461
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 463
    const-string v3, "url"

    .line 464
    const-string v4, "news_url"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 463
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 465
    const-string v3, "title"

    .line 466
    const-string v4, "news_title"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 465
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 467
    const-string v3, "news_ptime"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    .line 468
    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_3

    .line 469
    const-string v3, "ptime"

    .line 470
    const-string v4, "news_ptime"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    .line 469
    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 472
    :cond_3
    invoke-interface {p1, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 453
    invoke-interface {v0}, Landroid/database/Cursor;->moveToNext()Z

    goto/16 :goto_1
.end method

.method private insertListToDB(Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
    .locals 27
    .parameter
    .parameter "columnID"
    .parameter "type"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 479
    .local p1, data:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const-string v4, ""

    .line 480
    .local v4, docid:Ljava/lang/String;
    const-string v5, ""

    .line 481
    .local v5, imgsrc:Ljava/lang/String;
    const-string v6, ""

    .line 482
    .local v6, digest:Ljava/lang/String;
    const-string v8, ""

    .line 483
    .local v8, url:Ljava/lang/String;
    const-string v7, ""

    .line 484
    .local v7, replyCount:Ljava/lang/String;
    const-string v9, ""

    .line 485
    .local v9, title:Ljava/lang/String;
    const-string v10, ""

    .line 486
    .local v10, ptime:Ljava/lang/String;
    const-string v14, "0"

    .line 487
    .local v14, hasimg:Ljava/lang/String;
    const-string v24, ""

    .line 488
    .local v24, latestTime:Ljava/lang/String;
    const-string v15, ""

    .line 489
    .local v15, specialid:Ljava/lang/String;
    const-string v16, ""

    .line 490
    .local v16, sepcialindex:Ljava/lang/String;
    const-string v17, ""

    .line 491
    .local v17, sepcialtname:Ljava/lang/String;
    const-string v18, ""

    .line 492
    .local v18, extendjson:Ljava/lang/String;
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "select * from news_list where news_col_id=\'"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 493
    move-object/from16 v0, p2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 494
    const-string v3, "\' order by news_ptime desc limit 0,1"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 492
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v25

    .line 495
    .local v25, s:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    const/4 v3, 0x0

    new-array v3, v3, [Ljava/lang/String;

    move-object/from16 v0, v25

    invoke-virtual {v2, v0, v3}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v19

    .line 496
    .local v19, c:Landroid/database/Cursor;
    if-eqz v19, :cond_0

    invoke-interface/range {v19 .. v19}, Landroid/database/Cursor;->getCount()I

    move-result v2

    if-lez v2, :cond_0

    invoke-interface/range {v19 .. v19}, Landroid/database/Cursor;->moveToFirst()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 497
    const-string v2, "news_ptime"

    move-object/from16 v0, v19

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v2

    move-object/from16 v0, v19

    invoke-interface {v0, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v24

    .line 498
    :cond_0
    invoke-interface/range {v19 .. v19}, Landroid/database/Cursor;->close()V

    .line 500
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V

    .line 503
    const/16 v22, 0x0

    .local v22, i:I
    :goto_0
    :try_start_0
    invoke-interface/range {p1 .. p1}, Ljava/util/List;->size()I

    move-result v2

    move/from16 v0, v22

    if-lt v0, v2, :cond_1

    .line 592
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 597
    :goto_1
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    .line 599
    return-void

    .line 505
    :cond_1
    :try_start_1
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "docid"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_f

    .line 506
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 507
    const-string v3, "docid"

    .line 506
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 507
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    .line 508
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "select * from news_list where news_doc_id=? and news_col_id=\'"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 510
    move-object/from16 v0, p2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\'"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 508
    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v26

    .line 511
    .local v26, sql:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/String;

    const/4 v11, 0x0

    .line 512
    aput-object v4, v3, v11

    .line 511
    move-object/from16 v0, v26

    invoke-virtual {v2, v0, v3}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v20

    .line 514
    .local v20, cursor:Landroid/database/Cursor;
    move-object/from16 v0, p0

    move-object/from16 v1, v20

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->startManagingCursor(Landroid/database/Cursor;)V

    .line 516
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "imgsrc"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_2

    .line 517
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 518
    const-string v3, "imgsrc"

    .line 517
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 518
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    .line 520
    :cond_2
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "digest"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_3

    .line 521
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 522
    const-string v3, "digest"

    .line 521
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 522
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    .line 524
    :cond_3
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 525
    const-string v3, "replyCount"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 524
    if-eqz v2, :cond_4

    .line 526
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 527
    const-string v3, "replyCount"

    .line 526
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 527
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 529
    :cond_4
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "url"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_5

    .line 530
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 531
    const-string v3, "url"

    .line 530
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 531
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    .line 533
    :cond_5
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "title"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_6

    .line 534
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 535
    const-string v3, "title"

    .line 534
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 535
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v9

    .line 537
    :cond_6
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "ptime"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_7

    .line 538
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 539
    const-string v3, "ptime"

    .line 538
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 539
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    .line 541
    :cond_7
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "hasImg"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_8

    .line 542
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 543
    const-string v3, "hasImg"

    .line 542
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 543
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v14

    .line 545
    :cond_8
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 546
    const-string v3, "specialID"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 545
    if-eqz v2, :cond_9

    .line 547
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 548
    const-string v3, "specialID"

    .line 547
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 548
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v15

    .line 550
    :cond_9
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 551
    const-string v3, "index"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 550
    if-eqz v2, :cond_a

    .line 552
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 553
    const-string v3, "index"

    .line 552
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 553
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v16

    .line 555
    :cond_a
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 556
    const-string v3, "tname"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 555
    if-eqz v2, :cond_b

    .line 557
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 558
    const-string v3, "tname"

    .line 557
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 558
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v17

    .line 560
    :cond_b
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 561
    const-string v3, "extendjson"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 560
    if-eqz v2, :cond_c

    .line 562
    move-object/from16 v0, p1

    move/from16 v1, v22

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 563
    const-string v3, "extendjson"

    .line 562
    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    .line 563
    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v18

    .line 565
    :cond_c
    if-eqz v20, :cond_d

    invoke-interface/range {v20 .. v20}, Landroid/database/Cursor;->getCount()I

    move-result v2

    if-nez v2, :cond_10

    .line 566
    :cond_d
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 567
    const-string v11, ""

    const-string v12, "0"

    const-string v13, "N"

    move-object/from16 v3, p2

    .line 566
    invoke-static/range {v2 .. v18}, Lcom/netease/newsreader/db/DBUtils;->insertDataToNewsListTable(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 578
    :goto_2
    invoke-interface/range {p1 .. p1}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    move/from16 v0, v22

    if-ne v0, v2, :cond_f

    .line 579
    const-string v2, ""

    move-object/from16 v0, v24

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_e

    move-object/from16 v0, v24

    invoke-static {v10, v0}, Lcom/netease/newsreader/util/StringUtil;->compareDate(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_f

    .line 580
    :cond_e
    const-string v2, "nonhead"

    move-object/from16 v0, p3

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_f

    .line 581
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    new-instance v3, Ljava/lang/StringBuilder;

    const-string v11, "delete from news_list where news_col_id=\'"

    invoke-direct {v3, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 582
    move-object/from16 v0, p2

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v11, "\' and news_ptime<\'"

    invoke-virtual {v3, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 583
    invoke-virtual {v3, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v11, "\'"

    invoke-virtual {v3, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 581
    invoke-virtual {v2, v3}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 503
    .end local v20           #cursor:Landroid/database/Cursor;
    .end local v26           #sql:Ljava/lang/String;
    :cond_f
    :goto_3
    add-int/lit8 v22, v22, 0x1

    goto/16 :goto_0

    .line 571
    .restart local v20       #cursor:Landroid/database/Cursor;
    .restart local v26       #sql:Ljava/lang/String;
    :cond_10
    new-instance v23, Landroid/content/ContentValues;

    invoke-direct/range {v23 .. v23}, Landroid/content/ContentValues;-><init>()V

    .line 572
    .local v23, initialValues:Landroid/content/ContentValues;
    const-string v2, "news_reply_count"

    move-object/from16 v0, v23

    invoke-virtual {v0, v2, v7}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 573
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    const-string v3, "news_list"

    .line 574
    const-string v11, "news_doc_id=?"

    const/4 v12, 0x1

    new-array v12, v12, [Ljava/lang/String;

    const/4 v13, 0x0

    .line 575
    aput-object v4, v12, v13

    .line 573
    move-object/from16 v0, v23

    invoke-virtual {v2, v3, v0, v11, v12}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_2

    .line 587
    .end local v20           #cursor:Landroid/database/Cursor;
    .end local v23           #initialValues:Landroid/content/ContentValues;
    .end local v26           #sql:Ljava/lang/String;
    :catch_0
    move-exception v21

    .line 589
    .local v21, e:Ljava/lang/Exception;
    :try_start_2
    invoke-virtual/range {v21 .. v21}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_3

    .line 593
    .end local v21           #e:Ljava/lang/Exception;
    :catch_1
    move-exception v21

    .line 595
    .restart local v21       #e:Ljava/lang/Exception;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/ShowColumnInMore;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    goto/16 :goto_1
.end method

.method private preparePullRefreshView()V
    .locals 2

    .prologue
    .line 173
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mPullListView:Lcom/netease/newsreader/view/PullRefreshListView;

    const v1, 0x7f030052

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/view/PullRefreshListView;->setRefreshView(I)V

    .line 174
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mPullListView:Lcom/netease/newsreader/view/PullRefreshListView;

    const-string v1, ""

    invoke-virtual {v0, v1, p0}, Lcom/netease/newsreader/view/PullRefreshListView;->setOnRefreshListener(Ljava/lang/String;Lcom/netease/newsreader/view/PullRefreshListView$OnRefreshListener;)V

    .line 175
    return-void
.end method

.method private refresh(Z)V
    .locals 2
    .parameter "first"

    .prologue
    .line 280
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->top_progressbar:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 281
    new-instance v0, Lcom/netease/newsreader/activity/ShowColumnInMore$6;

    invoke-direct {v0, p0, p1}, Lcom/netease/newsreader/activity/ShowColumnInMore$6;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;Z)V

    .line 342
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$6;->start()V

    .line 343
    return-void
.end method

.method private removeRepeatedData(Ljava/util/List;Ljava/util/List;Ljava/lang/String;)V
    .locals 4
    .parameter
    .parameter
    .parameter "key"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 603
    .local p1, sourceData:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    .local p2, data:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const-string v0, ""

    .line 605
    .local v0, docid:Ljava/lang/String;
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v3

    if-lt v1, v3, :cond_0

    .line 643
    return-void

    .line 606
    :cond_0
    invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3, p3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    if-eqz v3, :cond_1

    .line 607
    invoke-interface {p2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3, p3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    .line 609
    const/4 v2, 0x0

    .local v2, j:I
    :goto_1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v3

    if-lt v2, v3, :cond_2

    .line 605
    .end local v2           #j:I
    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 610
    .restart local v2       #j:I
    :cond_2
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3, p3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    if-eqz v3, :cond_3

    .line 611
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/util/HashMap;

    invoke-virtual {v3, p3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    .line 612
    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    .line 611
    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 613
    monitor-enter p2

    .line 614
    :try_start_0
    invoke-interface {p2, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 613
    monitor-exit p2
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 616
    add-int/lit8 v1, v1, -0x1

    .line 617
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    .line 609
    :cond_3
    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 613
    :catchall_0
    move-exception v3

    :try_start_1
    monitor-exit p2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v3
.end method

.method private setListeners()V
    .locals 2

    .prologue
    .line 646
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 647
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->scrollListener:Landroid/widget/AbsListView$OnScrollListener;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 648
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreButton:Landroid/widget/Button;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 649
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->btn_change_city:Landroid/widget/Button;

    new-instance v1, Lcom/netease/newsreader/activity/ShowColumnInMore$7;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/ShowColumnInMore$7;-><init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 658
    return-void
.end method

.method private setMenu()V
    .locals 14

    .prologue
    const v13, 0x7f0c00d5

    const v12, 0x7f0c00d4

    const v10, 0x7f0c00d2

    const/4 v11, 0x0

    const/16 v9, 0x8

    .line 868
    const-string v7, "layout_inflater"

    invoke-virtual {p0, v7}, Lcom/netease/newsreader/activity/ShowColumnInMore;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    .line 870
    .local v0, inflater:Landroid/view/LayoutInflater;
    iget-boolean v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v7, :cond_0

    const v7, 0x7f030036

    :goto_0
    const/4 v8, 0x0

    .line 869
    invoke-virtual {v0, v7, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v7

    iput-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    .line 872
    iget-boolean v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v7, :cond_1

    .line 873
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    invoke-virtual {v7, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    .line 874
    .local v5, menu_refresh:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d3

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    .line 875
    .local v1, menu_change_city:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    invoke-virtual {v7, v12}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 876
    .local v2, menu_collect:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    invoke-virtual {v7, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    .line 878
    .local v6, menu_setting:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v5, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 879
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v1, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 880
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v2, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 881
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v6, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 902
    .end local v1           #menu_change_city:Landroid/view/View;
    :goto_1
    new-instance v7, Landroid/widget/PopupWindow;

    iget-object v8, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const/4 v9, -0x1

    const/4 v10, -0x2

    invoke-direct {v7, v8, v9, v10}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    .line 903
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    const v8, 0x7f0a002f

    invoke-virtual {v7, v8}, Landroid/widget/PopupWindow;->setAnimationStyle(I)V

    .line 904
    iput-boolean v11, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    .line 906
    return-void

    .line 870
    .end local v2           #menu_collect:Landroid/view/View;
    .end local v5           #menu_refresh:Landroid/view/View;
    .end local v6           #menu_setting:Landroid/view/View;
    :cond_0
    const v7, 0x7f030039

    goto :goto_0

    .line 883
    :cond_1
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    invoke-virtual {v7, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    .line 884
    .restart local v5       #menu_refresh:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    invoke-virtual {v7, v12}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 885
    .restart local v2       #menu_collect:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    invoke-virtual {v7, v13}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    .line 886
    .restart local v6       #menu_setting:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00f0

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    .line 887
    .local v3, menu_comment:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c003b

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    .line 889
    .local v4, menu_home:Landroid/view/View;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00ee

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7, v9}, Landroid/view/View;->setVisibility(I)V

    .line 890
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00f1

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7, v9}, Landroid/view/View;->setVisibility(I)V

    .line 891
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00ef

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7, v9}, Landroid/view/View;->setVisibility(I)V

    .line 892
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00f2

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7, v9}, Landroid/view/View;->setVisibility(I)V

    .line 893
    invoke-virtual {v4, v11}, Landroid/view/View;->setVisibility(I)V

    .line 895
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v5, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 896
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v2, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 897
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v6, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 898
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v3, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 899
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v4, v7}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_1
.end method

.method private updateEmptyMsg(Z)V
    .locals 2
    .parameter "isNetError"

    .prologue
    const/16 v1, 0x8

    .line 1065
    iget-boolean v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v0, :cond_2

    .line 1066
    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v0}, Lcom/netease/newsreader/util/BasePageViewAdapter;->getCount()I

    move-result v0

    if-lez v0, :cond_1

    .line 1067
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mEmptyMsg:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1075
    :goto_0
    return-void

    .line 1069
    :cond_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mEmptyMsg:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 1070
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->lay:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->removeFooterView(Landroid/view/View;)Z

    goto :goto_0

    .line 1073
    :cond_2
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mEmptyMsg:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method


# virtual methods
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 3
    .parameter "ev"

    .prologue
    .line 991
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 992
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->dismiss()V

    .line 993
    const/4 v2, 0x0

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    .line 994
    const/4 v1, 0x1

    .line 1002
    :goto_0
    return v1

    .line 996
    :cond_0
    const/4 v1, 0x0

    .line 998
    .local v1, result:Z
    :try_start_0
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 999
    :catch_0
    move-exception v0

    .line 1000
    .local v0, e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public doRefresh(Ljava/lang/String;)V
    .locals 1
    .parameter "tag"

    .prologue
    .line 236
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->refresh(Z)V

    .line 237
    return-void
.end method

.method public goBackClick(Landroid/view/View;)V
    .locals 0
    .parameter "view"

    .prologue
    .line 860
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->finish()V

    .line 861
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 6
    .parameter "requestCode"
    .parameter "resultCode"
    .parameter "data"

    .prologue
    const/4 v5, 0x0

    .line 967
    invoke-super {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/BaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 969
    if-nez p1, :cond_1

    const/4 v3, -0x1

    if-ne p2, v3, :cond_1

    .line 970
    invoke-static {p0, v5}, Lcom/netease/newsreader/model/City;->getCurrentCity(Landroid/content/Context;Z)[Ljava/lang/String;

    move-result-object v2

    .line 971
    .local v2, ss:[Ljava/lang/String;
    const/4 v3, 0x1

    aget-object v1, v2, v3

    .line 972
    .local v1, newTid:Ljava/lang/String;
    aget-object v0, v2, v5

    .line 973
    .local v0, newProvince:Ljava/lang/String;
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->province:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1

    .line 974
    :cond_0
    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    .line 975
    iput-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->province:Ljava/lang/String;

    .line 976
    iput-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    .line 977
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->title:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 978
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherData:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->clear()V

    .line 979
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->weatherAdapter:Lcom/netease/newsreader/adapter/HeadlineAdapter;

    invoke-virtual {v3}, Lcom/netease/newsreader/adapter/HeadlineAdapter;->notifyDataSetChanged()V

    .line 980
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->clear()V

    .line 981
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v3}, Lcom/netease/newsreader/util/BasePageViewAdapter;->notifyDataSetChanged()V

    .line 982
    iput-boolean v5, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mRefresh:Z

    .line 983
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->UpdateDisplay()V

    .line 987
    .end local v0           #newProvince:Ljava/lang/String;
    .end local v1           #newTid:Ljava/lang/String;
    .end local v2           #ss:[Ljava/lang/String;
    :cond_1
    return-void
.end method

.method public onApplyTheme()V
    .locals 14

    .prologue
    const/16 v13, 0x8

    const v12, 0x7f02007e

    const v11, 0x7f02007f

    const v10, 0x7f080011

    const/4 v9, 0x1

    .line 1007
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 1008
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v6

    .line 1009
    .local v6, themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->title:Landroid/widget/TextView;

    const v8, 0x7f080025

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1010
    const v7, 0x7f0c006f

    const v8, 0x7f020089

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 1011
    const v7, 0x7f0c0007

    const v8, 0x7f0200fe

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 1012
    const v7, 0x7f0c0144

    const v8, 0x7f080029

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/app/Activity;II)V

    .line 1013
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    const v8, 0x7f020070

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setListViewDivider(Landroid/content/Context;Landroid/widget/ListView;I)V

    .line 1014
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreButton:Landroid/widget/Button;

    const v8, 0x7f020086

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1015
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->moreButton:Landroid/widget/Button;

    const v8, 0x7f080027

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1017
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    if-eqz v7, :cond_0

    .line 1018
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v7}, Lcom/netease/newsreader/util/BasePageViewAdapter;->notifyDataSetChanged()V

    .line 1022
    :cond_0
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c0034

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    const v8, 0x7f080015

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/content/Context;Landroid/view/View;I)V

    .line 1023
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c0037

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v7

    const v8, 0x7f080015

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/content/Context;Landroid/view/View;I)V

    .line 1025
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d2

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/LinearLayout;

    .line 1027
    .local v4, menu_refresh:Landroid/widget/LinearLayout;
    invoke-virtual {v6, p0, v4, v12}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1028
    invoke-virtual {v4, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1030
    iget-boolean v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v7, :cond_1

    .line 1031
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d3

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 1032
    .local v0, menu_change_city:Landroid/widget/LinearLayout;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d4

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 1033
    .local v1, menu_collect:Landroid/widget/LinearLayout;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d5

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/LinearLayout;

    .line 1035
    .local v5, menu_setting:Landroid/widget/LinearLayout;
    invoke-virtual {v6, p0, v0, v12}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1036
    invoke-virtual {v0, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1037
    invoke-virtual {v6, p0, v1, v11}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1038
    invoke-virtual {v1, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1039
    invoke-virtual {v6, p0, v5, v11}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1040
    invoke-virtual {v5, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1042
    const v7, 0x7f0c0145

    const v8, 0x7f020105

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 1043
    const v7, 0x7f0c0145

    const v8, 0x7f080023

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/app/Activity;II)V

    .line 1044
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->btn_change_city:Landroid/widget/Button;

    const/16 v8, 0xc

    const/16 v9, 0xc

    invoke-virtual {v7, v8, v13, v9, v13}, Landroid/widget/Button;->setPadding(IIII)V

    .line 1061
    .end local v0           #menu_change_city:Landroid/widget/LinearLayout;
    :goto_0
    const v7, 0x7f0c0002

    const v8, 0x7f020041

    invoke-virtual {v6, p0, v7, v8}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 1062
    return-void

    .line 1046
    .end local v1           #menu_collect:Landroid/widget/LinearLayout;
    .end local v5           #menu_setting:Landroid/widget/LinearLayout;
    :cond_1
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d4

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 1047
    .restart local v1       #menu_collect:Landroid/widget/LinearLayout;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00f0

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    .line 1048
    .local v2, menu_comment:Landroid/widget/LinearLayout;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c003b

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/LinearLayout;

    .line 1049
    .local v3, menu_home:Landroid/widget/LinearLayout;
    iget-object v7, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->layout:Landroid/view/View;

    const v8, 0x7f0c00d5

    invoke-virtual {v7, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/LinearLayout;

    .line 1051
    .restart local v5       #menu_setting:Landroid/widget/LinearLayout;
    invoke-virtual {v6, p0, v1, v11}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1052
    invoke-virtual {v1, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1053
    invoke-virtual {v6, p0, v2, v12}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1054
    invoke-virtual {v2, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1055
    invoke-virtual {v6, p0, v3, v11}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1056
    invoke-virtual {v3, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 1057
    invoke-virtual {v6, p0, v5, v11}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 1058
    invoke-virtual {v5, v9}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/TextView;

    invoke-virtual {v6, p0, v7, v10}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    goto :goto_0
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 5
    .parameter "icicle"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 108
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 109
    invoke-virtual {p0, v4}, Lcom/netease/newsreader/activity/ShowColumnInMore;->requestWindowFeature(I)Z

    .line 111
    const v2, 0x7f030063

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->setContentView(I)V

    .line 112
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewsById()V

    .line 114
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->getIntent()Landroid/content/Intent;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 115
    .local v0, bundle:Landroid/os/Bundle;
    if-eqz v0, :cond_1

    .line 116
    const-string v2, "local_news"

    invoke-virtual {v0, v2, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    .line 118
    iget-boolean v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v2, :cond_2

    .line 119
    invoke-static {p0, v3}, Lcom/netease/newsreader/model/City;->getCurrentCity(Landroid/content/Context;Z)[Ljava/lang/String;

    move-result-object v1

    .line 120
    .local v1, ss:[Ljava/lang/String;
    aget-object v2, v1, v4

    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    .line 121
    aget-object v2, v1, v3

    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->province:Ljava/lang/String;

    .line 122
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->btn_change_city:Landroid/widget/Button;

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setVisibility(I)V

    .line 128
    .end local v1           #ss:[Ljava/lang/String;
    :cond_0
    :goto_0
    iget-boolean v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v2, :cond_3

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    :goto_1
    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    .line 129
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    if-eqz v2, :cond_4

    .line 130
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->title:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 131
    const-string v2, "LIST"

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    invoke-static {p0, v2, v3}, Lcom/netease/mobileanalysis/MobileAgent;->setEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 135
    :goto_2
    const-string v2, "headline"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_5

    .line 136
    const-string v2, "headline"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->isHeadline:Ljava/lang/String;

    .line 142
    :cond_1
    :goto_3
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->UpdateDisplay()V

    .line 143
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->setListeners()V

    .line 144
    invoke-direct {p0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->setMenu()V

    .line 145
    return-void

    .line 123
    :cond_2
    const-string v2, "tid"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 124
    const-string v2, "tid"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    .line 125
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->btn_change_city:Landroid/widget/Button;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setVisibility(I)V

    goto :goto_0

    .line 128
    :cond_3
    const-string v2, "tname"

    invoke-virtual {v0, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    goto :goto_1

    .line 133
    :cond_4
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->title:Landroid/widget/TextView;

    const-string v3, ""

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    .line 138
    :cond_5
    const-string v2, ""

    iput-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->isHeadline:Ljava/lang/String;

    goto :goto_3
.end method

.method protected onDestroy()V
    .locals 0

    .prologue
    .line 824
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onDestroy()V

    .line 826
    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 14
    .parameter
    .parameter "arg1"
    .parameter "arg2"
    .parameter "arg3"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 664
    .local p1, arg0:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->list:Landroid/widget/ListView;

    invoke-virtual {v12}, Landroid/widget/ListView;->getHeaderViewsCount()I

    move-result v12

    sub-int p3, p3, v12

    .line 666
    const-string v3, ""

    .line 667
    .local v3, docid:Ljava/lang/String;
    const-string v11, ""

    .line 668
    .local v11, url:Ljava/lang/String;
    const-string v5, ""

    .line 669
    .local v5, imgsrc:Ljava/lang/String;
    const-string v2, ""

    .line 670
    .local v2, digest:Ljava/lang/String;
    const-string v8, ""

    .line 671
    .local v8, replyCount:Ljava/lang/String;
    const-string v10, ""

    .line 672
    .local v10, title:Ljava/lang/String;
    const-string v7, ""

    .line 673
    .local v7, ptime:Ljava/lang/String;
    const-string v9, ""

    .line 675
    .local v9, sdocid:Ljava/lang/String;
    new-instance v6, Landroid/content/Intent;

    const-class v12, Lcom/netease/newsreader/activity/DetailPage;

    invoke-direct {v6, p0, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 676
    .local v6, itemintent:Landroid/content/Intent;
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 678
    .local v1, b:Landroid/os/Bundle;
    :try_start_0
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "docid"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_2

    const-string v3, ""

    .line 680
    :goto_0
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "url"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_3

    const-string v11, ""

    .line 682
    :goto_1
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "imgsrc"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_4

    const-string v5, ""

    .line 684
    :goto_2
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "digest"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_5

    const-string v2, ""

    .line 686
    :goto_3
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "replyCount"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_6

    const-string v8, ""

    .line 688
    :goto_4
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "title"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_7

    const-string v10, ""

    .line 690
    :goto_5
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "ptime"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_8

    const-string v7, ""

    .line 692
    :goto_6
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "specialID"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_9

    const-string v9, ""
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 699
    :goto_7
    if-eqz v3, :cond_a

    const-string v12, ""

    invoke-virtual {v3, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v12

    if-nez v12, :cond_a

    .line 700
    const-string v12, "tname"

    iget-object v13, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->columnTitle:Ljava/lang/String;

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 702
    const-string v12, "docid"

    invoke-virtual {v1, v12, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 703
    const-string v12, "url"

    invoke-virtual {v1, v12, v11}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 704
    const-string v12, "imgsrc"

    invoke-virtual {v1, v12, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 705
    const-string v12, "digest"

    invoke-virtual {v1, v12, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 706
    const-string v12, "replyCount"

    invoke-virtual {v1, v12, v8}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 707
    const-string v12, "title"

    invoke-virtual {v1, v12, v10}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 708
    const-string v12, "ptime"

    invoke-virtual {v1, v12, v7}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 709
    const-string v12, "specialID"

    invoke-virtual {v1, v12, v9}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 710
    const-string v12, "tid"

    iget-object v13, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 711
    const-string v12, "position"

    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    move/from16 v0, p3

    invoke-virtual {v13, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 712
    const-string v12, "headLine"

    const/4 v13, 0x0

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 713
    const-string v12, "more_column"

    const/4 v13, 0x1

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 714
    iget-boolean v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mIsLocalNews:Z

    if-eqz v12, :cond_0

    .line 715
    const-string v12, "local_news"

    const/4 v13, 0x1

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 717
    :cond_0
    if-eqz v9, :cond_1

    const-string v12, ""

    invoke-virtual {v12, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v12

    if-nez v12, :cond_1

    .line 718
    new-instance v6, Landroid/content/Intent;

    .end local v6           #itemintent:Landroid/content/Intent;
    const-class v12, Lcom/netease/newsreader/activity/SpecialAritcleTwo;

    invoke-direct {v6, p0, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 720
    .restart local v6       #itemintent:Landroid/content/Intent;
    :cond_1
    invoke-virtual {v6, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 721
    invoke-virtual {p0, v6}, Lcom/netease/newsreader/activity/ShowColumnInMore;->startActivity(Landroid/content/Intent;)V

    .line 740
    :goto_8
    return-void

    .line 678
    :cond_2
    :try_start_1
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 679
    const-string v13, "docid"

    .line 678
    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    .line 679
    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    goto/16 :goto_0

    .line 680
    :cond_3
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 681
    const-string v13, "url"

    .line 680
    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    .line 681
    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v11

    goto/16 :goto_1

    .line 682
    :cond_4
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 683
    const-string v13, "imgsrc"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    goto/16 :goto_2

    .line 684
    :cond_5
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 685
    const-string v13, "digest"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_3

    .line 686
    :cond_6
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 687
    const-string v13, "replyCount"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    goto/16 :goto_4

    .line 688
    :cond_7
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 689
    const-string v13, "title"

    .line 688
    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    .line 689
    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    goto/16 :goto_5

    .line 690
    :cond_8
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    .line 691
    const-string v13, "ptime"

    .line 690
    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    .line 691
    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    goto/16 :goto_6

    .line 692
    :cond_9
    iget-object v12, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->data:Ljava/util/ArrayList;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/util/HashMap;

    const-string v13, "specialID"

    invoke-virtual {v12, v13}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v9

    goto/16 :goto_7

    .line 694
    :catch_0
    move-exception v4

    .line 696
    .local v4, e:Ljava/lang/Exception;
    invoke-virtual {v4}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_7

    .line 722
    .end local v4           #e:Ljava/lang/Exception;
    :cond_a
    if-eqz v9, :cond_b

    const-string v12, ""

    invoke-virtual {v12, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v12

    if-nez v12, :cond_b

    .line 723
    new-instance v6, Landroid/content/Intent;

    .end local v6           #itemintent:Landroid/content/Intent;
    const-class v12, Lcom/netease/newsreader/activity/SpecialAritcleTwo;

    invoke-direct {v6, p0, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 724
    .restart local v6       #itemintent:Landroid/content/Intent;
    const-string v12, "docid"

    invoke-virtual {v1, v12, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 725
    const-string v12, "url"

    invoke-virtual {v1, v12, v11}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 726
    const-string v12, "imgsrc"

    invoke-virtual {v1, v12, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 727
    const-string v12, "digest"

    invoke-virtual {v1, v12, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 728
    const-string v12, "replyCount"

    invoke-virtual {v1, v12, v8}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 729
    const-string v12, "title"

    invoke-virtual {v1, v12, v10}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 730
    const-string v12, "ptime"

    invoke-virtual {v1, v12, v7}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 731
    const-string v12, "specialID"

    invoke-virtual {v1, v12, v9}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 732
    const-string v12, "tid"

    iget-object v13, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 733
    const-string v12, "position"

    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    move/from16 v0, p3

    invoke-virtual {v13, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 734
    const-string v12, "headLine"

    const/4 v13, 0x0

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 735
    invoke-virtual {v6, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 736
    invoke-virtual {p0, v6}, Lcom/netease/newsreader/activity/ShowColumnInMore;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_8

    .line 738
    :cond_b
    const-string v12, "\u6253\u5f00\u65b0\u95fb\u6b63\u6587\u5931\u8d25"

    const/4 v13, 0x0

    invoke-static {p0, v12, v13}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v12

    invoke-virtual {v12}, Landroid/widget/Toast;->show()V

    goto/16 :goto_8
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v1, 0x1

    const/4 v4, 0x0

    .line 837
    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v2

    if-le v2, v1, :cond_0

    .line 838
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v1

    .line 856
    :goto_0
    return v1

    .line 840
    :cond_0
    iget-boolean v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    if-eqz v2, :cond_1

    .line 841
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->dismiss()V

    .line 842
    iput-boolean v4, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    goto :goto_0

    .line 845
    :cond_1
    const/16 v2, 0x52

    if-ne p1, v2, :cond_2

    .line 846
    const v2, 0x7f0c0144

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 847
    .local v0, myRoot:Landroid/view/View;
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v2

    if-nez v2, :cond_3

    .line 848
    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    const/16 v3, 0x51

    invoke-virtual {v2, v0, v3, v4, v4}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    .line 849
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    .line 856
    .end local v0           #myRoot:Landroid/view/View;
    :cond_2
    :goto_1
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v1

    goto :goto_0

    .line 852
    .restart local v0       #myRoot:Landroid/view/View;
    :cond_3
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 853
    iput-boolean v4, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    goto :goto_1
.end method

.method protected onPause()V
    .locals 1

    .prologue
    .line 831
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onPause()V

    .line 832
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->menu_display:Z

    .line 833
    return-void
.end method

.method public onPrepareRefresh(Ljava/lang/String;)Z
    .locals 3
    .parameter "tag"

    .prologue
    const/4 v0, 0x0

    .line 226
    invoke-static {p0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 227
    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 228
    const-string v1, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 231
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method protected onResume()V
    .locals 1

    .prologue
    .line 816
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onResume()V

    .line 817
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    if-eqz v0, :cond_0

    .line 818
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->adapter:Lcom/netease/newsreader/util/BasePageViewAdapter;

    invoke-virtual {v0}, Lcom/netease/newsreader/util/BasePageViewAdapter;->notifyDataSetChanged()V

    .line 819
    :cond_0
    return-void
.end method

.method public updateRefreshView(Ljava/lang/String;Landroid/view/View;II)V
    .locals 9
    .parameter "tag"
    .parameter "view"
    .parameter "lastState"
    .parameter "state"

    .prologue
    const v8, 0x7f040011

    const/4 v7, 0x1

    const/4 v6, 0x4

    const/4 v5, 0x0

    .line 179
    const v4, 0x7f0c0121

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 180
    .local v1, indicatorText:Landroid/widget/TextView;
    const v4, 0x7f0c0103

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 181
    .local v0, indicatorArrow:Landroid/view/View;
    const v4, 0x7f0c0123

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 183
    .local v2, refreshPb:Landroid/view/View;
    if-nez p3, :cond_0

    .line 184
    const v4, 0x7f0c0122

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 185
    .local v3, refreshTime:Landroid/widget/TextView;
    iget-object v4, p0, Lcom/netease/newsreader/activity/ShowColumnInMore;->tid:Ljava/lang/String;

    invoke-static {p0, v4}, Lcom/netease/newsreader/util/StringUtil;->getRefreshTimeStr(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 188
    .end local v3           #refreshTime:Landroid/widget/TextView;
    :cond_0
    packed-switch p4, :pswitch_data_0

    .line 222
    :goto_0
    :pswitch_0
    return-void

    .line 193
    :pswitch_1
    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 194
    invoke-virtual {v2, v6}, Landroid/view/View;->setVisibility(I)V

    .line 195
    invoke-virtual {v0, v7}, Landroid/view/View;->setEnabled(Z)V

    .line 196
    const/4 v4, 0x2

    if-ne p3, v4, :cond_1

    .line 197
    invoke-static {p0, v8}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 200
    :cond_1
    const v4, 0x7f0b00af

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 204
    :pswitch_2
    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 205
    invoke-virtual {v2, v6}, Landroid/view/View;->setVisibility(I)V

    .line 206
    invoke-virtual {v0, v5}, Landroid/view/View;->setEnabled(Z)V

    .line 207
    if-ne p3, v7, :cond_2

    .line 208
    invoke-static {p0, v8}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 210
    :cond_2
    const v4, 0x7f0b00b0

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 214
    :pswitch_3
    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    .line 215
    invoke-virtual {v2, v5}, Landroid/view/View;->setVisibility(I)V

    .line 216
    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    .line 217
    const v4, 0x7f0b00b1

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 188
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
